package com.example.noobpackage.ui.register

import androidx.lifecycle.LiveData
import androidx.lifecycle.ViewModel
import com.example.noobpackage.logic.network.RegisterResponse
import com.example.noobpackage.logic.repository.UserRepository

class RegisterViewModel : ViewModel() {
    fun register(
        account: Long,
        password: String,
        name: String,
        department: Int,
        telephone: String
    ): LiveData<RegisterResponse> {
        return UserRepository.userRegister(account, password, name, department, telephone)
    }
}